package io.persimmon.queue.bo;

import io.persimmon.core.entity.RetryEntity;
import lombok.*;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Message<T> extends RetryEntity {
    private String id;
    private T data;
    private Date createTime;
}
